package com.lb.trac.pojo.condition;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;

import com.lb.trac.util.SQLCondition;

public class FindSocietaByCodClienteHRPO implements SQLCondition {

	private String codCliente;

	public FindSocietaByCodClienteHRPO(String codCliente) {
		this.codCliente = codCliente;
	}

	@Override
	public Criterion create(Object... params) {
		Criterion criterion = Restrictions.eq("descBreve", codCliente);
		return criterion;
	}

}
